<?php
namespace app\admin\validate;
use think\Validate;
class Model extends Validate
{
    protected $rule = [
              'name'  =>  'require|max:25',
              '__token__'=>'require'
           ];
   
//       protected $message = [
//             'name.require'  =>  '用户名必须',
//            ];
    
}